﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Models
{
    static public class FilesModel
    {
        static public string RealAllText(string filename)
        {
            string AllString = string.Empty;
            try
            {
                StreamReader rFile = new StreamReader(filename);
                AllString = rFile.ReadToEnd();
                rFile.Close();
            }
            catch { return ""; }
            return AllString;
        }
    }
}
